package ch.elexis.easy.ui.dialogs;

import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Shell;

public class StandardDialogs {
	
	public static void showInsufficientRightsDialog(Shell parent,String text){
		MessageDialog.open(MessageDialog.ERROR, parent, "Insufficient Rights", text==null ? "You don't have sufficient rights for this operation" : text, SWT.NONE);
	}
}
